<template>
  <div>
    <!-- header -->
    <app-header></app-header>
    <!-- nav -->
    <app-nav></app-nav>
    <!-- content -->
    <keep-alive>
      <router-view></router-view>
    </keep-alive>
  </div>
</template>
<script>
import axios from "axios";
import Header from "./components/header/Header.vue";
import Nav from "./components/nav/Nav.vue";
export default {
  // created() {
  //   axios.get("/api/goods").then(data => {
  //     console.log(data.data.data);
  //   });
  // }
  components: {
    appHeader: Header,
    appNav: Nav
  }
};
</script>
<style scope>
</style>